package com.lyc.dao;

import com.lyc.entity.Size;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SizeMapper {
    int deleteByPrimaryKey(Integer sizeId);

    int insert(Size record);

    int insertSelective(Size record);

    Size selectByPrimaryKey(Integer sizeId);

    int updateByPrimaryKeySelective(Size record);

    int updateByPrimaryKey(Size record);

    int selectAllCount();

    List<Size> selectByPage(@Param("start") int start,@Param("pageSize") int pageSize);

    List<Size> selectAll();

    void deleteByPid(Integer pid);

    void insertBatchByIds(@Param("list") List<Integer> list,@Param("pid") Integer pid);

    void insertBatchBySizes(@Param("list") List<Size> list,@Param("pid") Integer pid);
}